home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / evtimer.arc / EVTIMER.DOC next >
Text File  |  1988-06-24  |  6KB  |  192 lines

  1.  
  2.  
  3.                      SECOND NODE EVENT TIMER
  4.  
  5.                         By: Dave De Wald
  6.                         Detron of Hawaii
  7.                      350 Ward Ave, Suite 106
  8.                      Honolulu, Hawaii  96814
  9.  
  10.                    (c) 1988, Detron of Hawaii
  11.  
  12. -----------------------------------------------------------------
  13.  
  14.                               INTRO
  15.                               -----
  16.  
  17. If  you are running under Double Dos or on a LANs,  then you  may 
  18. find this little program handy.
  19.  
  20. Some  of the programs written as utilities for PCBoard have  been 
  21. compiled  in  such a manner that if you are running  two  program 
  22. under Double Dos the screen display from one half will bleed over 
  23. to  the other half and may even cause the system to hang.  I  had 
  24. this  happen to me with DIRHEAD running in one half and CALL12S18 
  25. was running in the other.
  26.  
  27. This  can really spoil your day if you get up in the morning  and 
  28. find  out that your system has been down for over 4  hours  while 
  29. you were sleeping.
  30.  
  31. Under  a LANs system you may have run into a SHARE problem when a 
  32. program on one node tries to access a file that the event running 
  33. in another node is using and has locked, AND YOU WAKE UP THE NEXT 
  34. DAY TO FIND YOU HAVE BEEN HUNG SINCE MIDNIGHT!
  35.  
  36. Well,  with EVTIMER you can just put all your utility programs in 
  37. one event and keep them there.
  38.  
  39. But what of the other node? Why just run EVTIMER.
  40.  
  41.  
  42.  
  43.                           COMMAND LINE
  44.                           ------------
  45.  
  46. By  using a command line in the other node's EVENT.SYS file  that 
  47. looks like this:
  48.  
  49. EVTIMER1 60
  50.  
  51. Ofcourse EVTIMER1 calls the program,  and the 60 is the amount of 
  52. time you want the clock to run before shutting down.
  53.  
  54. You may specify any amount of time up to 23 hrs 59 minutes.
  55.  
  56. Only  one draw back.  If you have your node go down at 23:55  and 
  57. want  to  have EVTIMER to go more than 4 minutes you may  have  a 
  58. problem.
  59.  
  60. I  have  not  tried it for that although the logic  is  there  to 
  61. correct for a midnight crossover.  But I donot recommend you  try 
  62. it.
  63.  
  64. Here  is  an  example of a EVENT.SYS file I use on  my  LANtastic 
  65. network.
  66.  
  67. EVENT.SYS (node 1)
  68. ------------------
  69. E:
  70. CD\
  71. REN UP1 DOWN1       <  file to let node 2 know node 1 is down
  72. E:
  73. CD\PCB
  74. EVTIMER1 60         <  run EVTIMER for 60 minutes
  75. BOARD
  76.  
  77. EVENT.SYS (node 2)
  78. ------------------
  79. E:
  80. CD\
  81. REN UP2 DOWN2
  82. :WAIT
  83. IF EXIST UP1 GOTO WAIT  < node 2 looks for node 1 to go down 
  84. E:
  85. CD\DOOR\BDAY
  86. SORTBDAY
  87. CD\PCB\GE
  88. COPY \PCB\TODAYBDS+SP+NEW NEWS
  89. COPY \PCB\TODAYBDS+SP+NEWG NEWSG
  90. DEL \PCB\TODAYBDS
  91. E:
  92. CD\PCB\MA
  93. COPY CALLER2+CALLER1 CALLER
  94. DEL CALLER1
  95. DEL CALLER2
  96. REN CALLER CALLER1
  97. CD\PCB2
  98. QUPDN3
  99. CALLS E:\PCB\MA\CALLER1 E:\PCB\GE\BLT12
  100. PCBHOT24 e:\PCB\MA\CALLER1 e:\PCB\GE\BLT11 /1 /G
  101. CD\PCB\MA
  102. CALLREN CALLER1
  103. E:
  104. CD\DOOR\TRADE
  105. TWMAINT E:\GA\GBLT6
  106. CD\DOOR\FLAGTAG
  107. FNEXTDAY E:\GA\GBLT1
  108. CD\DOOR\TASKFORCE
  109. NEXTDAY E:\GA\GBLT5
  110. D\PCB2
  111. BLTMKR BLTMK.C0 /NEW
  112. BLTMKR BLTMK.C1 /NEW
  113. BLTMKR BLTMK.C2 /NEW
  114. BLTMKR BLTMK.C3 /NEW
  115. BLTMKR BLTMK.C5 /NEW
  116. BLTMKR BLTMK.C6 /NEW
  117. PX -U F:\D10\BLT E:\PCB\GE\BLT7
  118. PX -U F:\D10\BLT E:\PCB\GE\BLT8
  119. PX -U F:\D10\BLT E:\PCB\GE\BLT10
  120. PX -U F:\D10\BLT E:\PCB\GE\BLT11
  121. PX -U F:\D10\BLT E:\PCB\GE\BLT12
  122. PX -U F:\D10\BLT E:\PCB\GE\BLT13
  123. PX -U F:\D10\BLT E:\PCB\GE\BLT14
  124. E:
  125. CD\PCB2
  126. BOARD2
  127.  
  128.  
  129. The line in node 1's EVENT.SYS file were it renames UP1 to  DOWN1 
  130. and the corresponding lines in node 2's EVENT.SYS file that looks 
  131. for  the  name  change can be used not only with LANs  but  works 
  132. great for Double Dos networks.
  133.  
  134. I set node 2 to go down 5 minutes before node 1's time.  That way 
  135. I  am sure that node 1 and 2 are both down before the events  are 
  136. run.
  137.  
  138.  
  139.                         FILES IN THIS ARC
  140.                         -----------------
  141.  
  142.     EVTIMER1.EXE        this form displays start time/end time
  143.                         total time to run and current clock time
  144.  
  145.     EVTIMER2.EXE        no display with this form/clear screen
  146.  
  147.     EVTIMER.DOC         this file
  148.  
  149.  
  150.  
  151.                          SHAREWARE PLUS
  152.                          --------------
  153.  
  154. These  programs  are  released as ShareWare,  but  ownership  and 
  155. copyright remains in the name of Detron of Hawaii. These programs 
  156. may  not  be modified without written permission from  Detron  of 
  157. Hawaii.  There may not any charge for copying these programs. The 
  158. DOC file may not be edited or modified and must be included  with 
  159. the EVTIMER files in ARC'ed form. SysOps may not charge a fee for 
  160. access to or downloading of these files.
  161.  
  162.  
  163.  
  164.  
  165.                           REGISTRATION
  166.                           ------------
  167.  
  168. Althought EVTIMER is released as ShareWare,  it is requested that 
  169. users  register their use of the program.  There is a $ 5.00  fee 
  170. for registration. This fee will enclude access to Program Library 
  171. &  Exchange BBS' Support Conference (808) 845-1303 after you have 
  172. fullfilled  the  validation  requirements  for  that  BBS.   That 
  173. Conference will contain the lasted version of EVTIMER.
  174.  
  175. Make fee payable to:  Detron of Hawaii
  176.                       350 Ward Ave, Suite 106
  177.                       Honolulu, Hawaii  96814
  178.  
  179. Lastest version and support may be obtained thru Program  Library 
  180. &  Exchange BBS,  Honolulu,  Hi,  (808) 845-1303,  300/1200/2400, 
  181. 24hrs.
  182.  
  183.  
  184.                            DISCLAIMER
  185.                            ----------
  186.  
  187. Dave De Wald and Detron of Hawaii may not be held responsible for 
  188. damage to your hardware,  software or data files that may  arrise 
  189. from  the  use of EVTIMER in either of it's two forms.  The  user 
  190. accepts  all responsibility for any damage that may  result  from 
  191. the use of EVTIMER in either of it's two forms.
  192.